Optimal. Leaf size=552 \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right ) \left (-a b e-a c d+b^2 d\right )}{a^3 \sqrt{d}}+\frac{\sqrt{c} \left (b^2 \left (d \sqrt{b^2-4 a c}-a e\right )-a b \left (e \sqrt{b^2-4 a c}+3 c d\right )-a c \left (d \sqrt{b^2-4 a c}-2 a e\right )+b^3 d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{\sqrt{c} \left (-b^2 \left (d \sqrt{b^2-4 a c}+a e\right )-a b \left (3 c d-e \sqrt{b^2-4 a c}\right )+a c \left (d \sqrt{b^2-4 a c}+2 a e\right )+b^3 d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{e (b d-a e) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{2 a^2 d^{3/2}}+\frac{\sqrt{d+e x^2} (b d-a e)}{2 a^2 d x^2}-\frac{3 e^2 \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{8 a d^{3/2}}+\frac{3 e \sqrt{d+e x^2}}{8 a d x^2}-\frac{\sqrt{d+e x^2}}{4 a x^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 4.24389, antiderivative size = 552, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 7, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.241, Rules used = {1251, 897, 1287, 199, 206, 1166, 208} \[ -\frac{\tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right ) \left (-a b e-a c d+b^2 d\right )}{a^3 \sqrt{d}}+\frac{\sqrt{c} \left (b^2 \left (d \sqrt{b^2-4 a c}-a e\right )-a b \left (e \sqrt{b^2-4 a c}+3 c d\right )-a c \left (d \sqrt{b^2-4 a c}-2 a e\right )+b^3 d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (b-\sqrt{b^2-4 a c}\right )}}-\frac{\sqrt{c} \left (-b^2 \left (d \sqrt{b^2-4 a c}+a e\right )-a b \left (3 c d-e \sqrt{b^2-4 a c}\right )+a c \left (d \sqrt{b^2-4 a c}+2 a e\right )+b^3 d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}-\frac{e (b d-a e) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{2 a^2 d^{3/2}}+\frac{\sqrt{d+e x^2} (b d-a e)}{2 a^2 d x^2}-\frac{3 e^2 \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{8 a d^{3/2}}+\frac{3 e \sqrt{d+e x^2}}{8 a d x^2}-\frac{\sqrt{d+e x^2}}{4 a x^4} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1251
Rule 897
Rule 1287
Rule 199
Rule 206
Rule 1166
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{d+e x^2}}{x^5 \left (a+b x^2+c x^4\right )} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int \frac{\sqrt{d+e x}}{x^3 \left (a+b x+c x^2\right )} \, dx,x,x^2\right )\\ &=\frac{\operatorname{Subst}\left (\int \frac{x^2}{\left (-\frac{d}{e}+\frac{x^2}{e}\right )^3 \left (\frac{c d^2-b d e+a e^2}{e^2}-\frac{(2 c d-b e) x^2}{e^2}+\frac{c x^4}{e^2}\right )} \, dx,x,\sqrt{d+e x^2}\right )}{e}\\ &=\frac{\operatorname{Subst}\left (\int \left (-\frac{d e^3}{a \left (d-x^2\right )^3}+\frac{e^2 (-b d+a e)}{a^2 \left (d-x^2\right )^2}+\frac{e \left (-b^2 d+a c d+a b e\right )}{a^3 \left (d-x^2\right )}+\frac{e \left (\left (b^2-a c\right ) \left (c d^2-b d e+a e^2\right )-c \left (b^2 d-a c d-a b e\right ) x^2\right )}{a^3 \left (c d^2-b d e+a e^2-(2 c d-b e) x^2+c x^4\right )}\right ) \, dx,x,\sqrt{d+e x^2}\right )}{e}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\left (b^2-a c\right ) \left (c d^2-b d e+a e^2\right )-c \left (b^2 d-a c d-a b e\right ) x^2}{c d^2-b d e+a e^2+(-2 c d+b e) x^2+c x^4} \, dx,x,\sqrt{d+e x^2}\right )}{a^3}-\frac{\left (d e^2\right ) \operatorname{Subst}\left (\int \frac{1}{\left (d-x^2\right )^3} \, dx,x,\sqrt{d+e x^2}\right )}{a}-\frac{(e (b d-a e)) \operatorname{Subst}\left (\int \frac{1}{\left (d-x^2\right )^2} \, dx,x,\sqrt{d+e x^2}\right )}{a^2}-\frac{\left (b^2 d-a c d-a b e\right ) \operatorname{Subst}\left (\int \frac{1}{d-x^2} \, dx,x,\sqrt{d+e x^2}\right )}{a^3}\\ &=-\frac{\sqrt{d+e x^2}}{4 a x^4}+\frac{(b d-a e) \sqrt{d+e x^2}}{2 a^2 d x^2}-\frac{\left (b^2 d-a c d-a b e\right ) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{a^3 \sqrt{d}}-\frac{\left (3 e^2\right ) \operatorname{Subst}\left (\int \frac{1}{\left (d-x^2\right )^2} \, dx,x,\sqrt{d+e x^2}\right )}{4 a}-\frac{(e (b d-a e)) \operatorname{Subst}\left (\int \frac{1}{d-x^2} \, dx,x,\sqrt{d+e x^2}\right )}{2 a^2 d}+\frac{\left (c \left (b^3 d-b^2 \left (\sqrt{b^2-4 a c} d+a e\right )+a c \left (\sqrt{b^2-4 a c} d+2 a e\right )-a b \left (3 c d-\sqrt{b^2-4 a c} e\right )\right )\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{1}{2} \sqrt{b^2-4 a c} e+\frac{1}{2} (-2 c d+b e)+c x^2} \, dx,x,\sqrt{d+e x^2}\right )}{2 a^3 \sqrt{b^2-4 a c}}-\frac{\left (c \left (b^3 d-a c \left (\sqrt{b^2-4 a c} d-2 a e\right )+b^2 \left (\sqrt{b^2-4 a c} d-a e\right )-a b \left (3 c d+\sqrt{b^2-4 a c} e\right )\right )\right ) \operatorname{Subst}\left (\int \frac{1}{-\frac{1}{2} \sqrt{b^2-4 a c} e+\frac{1}{2} (-2 c d+b e)+c x^2} \, dx,x,\sqrt{d+e x^2}\right )}{2 a^3 \sqrt{b^2-4 a c}}\\ &=-\frac{\sqrt{d+e x^2}}{4 a x^4}+\frac{3 e \sqrt{d+e x^2}}{8 a d x^2}+\frac{(b d-a e) \sqrt{d+e x^2}}{2 a^2 d x^2}-\frac{e (b d-a e) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{2 a^2 d^{3/2}}-\frac{\left (b^2 d-a c d-a b e\right ) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{a^3 \sqrt{d}}+\frac{\sqrt{c} \left (b^3 d-a c \left (\sqrt{b^2-4 a c} d-2 a e\right )+b^2 \left (\sqrt{b^2-4 a c} d-a e\right )-a b \left (3 c d+\sqrt{b^2-4 a c} e\right )\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e}}-\frac{\sqrt{c} \left (b^3 d-b^2 \left (\sqrt{b^2-4 a c} d+a e\right )+a c \left (\sqrt{b^2-4 a c} d+2 a e\right )-a b \left (3 c d-\sqrt{b^2-4 a c} e\right )\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}}-\frac{\left (3 e^2\right ) \operatorname{Subst}\left (\int \frac{1}{d-x^2} \, dx,x,\sqrt{d+e x^2}\right )}{8 a d}\\ &=-\frac{\sqrt{d+e x^2}}{4 a x^4}+\frac{3 e \sqrt{d+e x^2}}{8 a d x^2}+\frac{(b d-a e) \sqrt{d+e x^2}}{2 a^2 d x^2}-\frac{3 e^2 \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{8 a d^{3/2}}-\frac{e (b d-a e) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{2 a^2 d^{3/2}}-\frac{\left (b^2 d-a c d-a b e\right ) \tanh ^{-1}\left (\frac{\sqrt{d+e x^2}}{\sqrt{d}}\right )}{a^3 \sqrt{d}}+\frac{\sqrt{c} \left (b^3 d-a c \left (\sqrt{b^2-4 a c} d-2 a e\right )+b^2 \left (\sqrt{b^2-4 a c} d-a e\right )-a b \left (3 c d+\sqrt{b^2-4 a c} e\right )\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-\left (b-\sqrt{b^2-4 a c}\right ) e}}-\frac{\sqrt{c} \left (b^3 d-b^2 \left (\sqrt{b^2-4 a c} d+a e\right )+a c \left (\sqrt{b^2-4 a c} d+2 a e\right )-a b \left (3 c d-\sqrt{b^2-4 a c} e\right )\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}}\right )}{\sqrt{2} a^3 \sqrt{b^2-4 a c} \sqrt{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}}\\ \end{align*}
Mathematica [A] time = 2.04494, size = 466, normalized size = 0.84 \[ \frac{\frac{\log \left (\sqrt{d} \sqrt{d+e x^2}+d\right ) \left (4 a b d e+a \left (a e^2+8 c d^2\right )-8 b^2 d^2\right )}{d^{3/2}}-\frac{\log (x) \left (4 a b d e+a \left (a e^2+8 c d^2\right )-8 b^2 d^2\right )}{d^{3/2}}-\frac{4 \sqrt{2} \sqrt{c} \left (\frac{\left (b^2 \left (a e-d \sqrt{b^2-4 a c}\right )+a b \left (e \sqrt{b^2-4 a c}+3 c d\right )+a c \left (d \sqrt{b^2-4 a c}-2 a e\right )+b^3 (-d)\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{e \sqrt{b^2-4 a c}-b e+2 c d}}\right )}{\sqrt{e \left (\sqrt{b^2-4 a c}-b\right )+2 c d}}+\frac{\left (-b^2 \left (d \sqrt{b^2-4 a c}+a e\right )+a b \left (e \sqrt{b^2-4 a c}-3 c d\right )+a c \left (d \sqrt{b^2-4 a c}+2 a e\right )+b^3 d\right ) \tanh ^{-1}\left (\frac{\sqrt{2} \sqrt{c} \sqrt{d+e x^2}}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}\right )}{\sqrt{b^2-4 a c}}+\frac{a \sqrt{d+e x^2} \left (4 b d x^2-a \left (2 d+e x^2\right )\right )}{d x^4}}{8 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.033, size = 655, normalized size = 1.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e x^{2} + d}}{{\left (c x^{4} + b x^{2} + a\right )} x^{5}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]